package com.wx.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * <p>Title:      SysRangeArea. </p>
 * <p>Description 范围区域的关系表 </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         yangwensheng@100doc.com.cn
 * @since      2021-03-22 10:51:46
 */
@Table(name = "sys_range_area")
@Data
@ApiModel(value = "SysRangeArea")
public class SysRangeArea implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 范围id
	 */
	@Column(name = "range_id")
	@ApiModelProperty(value = "范围id")
	private String rangeId;
	/**
	 * 省份
	 */
	@Column(name = "province_code")
	@ApiModelProperty(value = "省份")
	private String provinceCode;
	/**
	 * 城市
	 */
	@Column(name = "city_code")
	@ApiModelProperty(value = "城市")
	private String cityCode;
	/**
	 * 区域
	 */
	@Column(name = "area_code")
	@ApiModelProperty(value = "区域")
	private String areaCode;


	/**
	 * 详细名称
	 */
	@ApiModelProperty(value = "详细名称")
	@Transient
	private String addressName;

	/**
	 * 详细地址编码
	 */
	@ApiModelProperty(value = "详细地址编码")
	@Transient
	private String addressCode;

}
